import request from '@/utils/request'

export function getUserPetInfo(uid) {
  return request({
    url: '/userPet/info/' + uid,
    method: 'get'
  })
}

export function getUserPetList(params) {
  return request({
    url: '/userPet/list',
    method: 'get',
    params
  })
}

export function setUserPetInfo(data) {
  return request({
    url: '/userPet/modify',
    method: 'post',
    data
  })
}
